import {post} from "@/api/Http";
import type {AxiosPromise} from "axios";

export const properties2yml = (content: string): AxiosPromise<string> => {
    return post('/yml/fromProperties', {content});
}

export const yml2properties = (content: string): AxiosPromise<string> => {
    return post('/yml/toProperties', {content});
} 